package com.wp.dao;


import com.wp.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

public class UserDaoImpl {

    private String age;
    private String name;

    public void save() {
        System.out.println("main dao static ..."+age+","+name);
    }

    public User findById(Integer id) {

        return null;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public void init(){
        System.out.println("init...");
    }

    public void destroy(){
        System.out.println("destroy...");
    }
}
